var Message = {
	success(msg) {
		uni.showToast({
			icon: "success",
			title: msg,
			duration:3000,
			complete() {
				
			}
		})
	},
	error(msg, durationTime=3000) {
		uni.showToast({
			icon: "none",
			title: msg,
			duration: durationTime,
			complete() {
				
			}
		})
	},
	info(msg) {
		uni.showToast({
			icon: "none",
			title: msg,
			duration:2000,
			complete() {
				
			}
		})
	}
}

export default Message